package com.study.talk.module.netty.message.response;

import com.study.talk.module.netty.message.MessageType;
import com.study.talk.module.netty.message.TalkMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 同意成员入群消息响应
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AcceptJoinGroupResponse extends TalkMessage {

    @ApiModelProperty("群聊id")
    private Integer groupId;

    @ApiModelProperty("群聊名称")
    private String groupName;

    @ApiModelProperty("是否同意")
    private Boolean success;



    @Override
    public byte getType() {
        return MessageType.ACCEPT_JOIN_GROUP_RESPONSE;
    }
}
